/**
 * 
 */
package email.controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import email.model.SendMail;

/**
 * @author Dominik Roth
 * Listener which is sending the mails.
 */
public class SendMailListener implements ActionListener {
	
	private SendMail mail;
	
	/**
	 * Calls SendMail() to send the Mail
	 */
	public void actionPerformed(ActionEvent arg0) {
		mail.sendMail();
	}

}
